
package instrumentation;

import java.io.Serializable;
import java.util.HashSet;
import java.util.List;



public class InterfaceInvoke implements Serializable {
	private static final long serialVersionUID = -4042773236943535616L;
	private final int id;
	private static int idGenerator = 0;
	private final List<soot.Value> args;
	private final String methodRef;
	private String value;
	public InterfaceInvoke(String methodRef,List<soot.Value> args) {
		id = idGenerator++;
		this.methodRef=methodRef;
		this.args=args;
	}
	public int getId() {
		return id;
	}
	public String getMethodRef() {
		return this.methodRef;
	}
	public String getValue() {
		return value;
	}
	public List<soot.Value> getArgs() {
		return this.args;
	}

	public void setValue(String v) {
		value=v;
	}
	@Override
	public String toString() {
		return " " + " "+this.getMethodRef()+ " args: "+ this.getArgs();
	}
}
